<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>form</title>
</head>
<body>
    <form action="formpath" method="post" enctype="multipart/form-data">
       姓名: <input type="text" name="userName"><br>
        密码: <input type="password" name="pass"><br>
        <input type="file" name="files">
        <input type="submit">
    </form>
</body>
</html>